package com.xiaohe66.web.domain.account.value;

import com.xiaohe66.web.integration.domain.LongId;
import lombok.EqualsAndHashCode;

/**
 * @author xiaohe
 * @since 2021.08.10 15:08
 */
@EqualsAndHashCode(callSuper = true)
public class AccountId extends LongId {

    public static final AccountId NOBODY_ID = new AccountId(0);
    public static final AccountId SYSTEM_ID = new AccountId(1);
    public static final AccountId YUER_Id = new AccountId(2);
    public static final AccountId HE_Id = new AccountId(3);

    public AccountId(long value) {
        super(value);
    }

    @Override
    public String toString() {
        return "AccountId(" + getValue() + ")";
    }
}
